home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-25 | 3.2 KB | 113 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 1 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- #ifndef FWMENU_K
- #include "FWMenu.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
-
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1024
-
- #define cResetFormCommand FW_kFirstUserCommandID
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 128
- #define kAboutIconID 130
-
- //-------------------------------------------------------------------------------------
- // About
- #define kAbout 1024
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
- //-------------------------------------------------------------------------------------
- // Views
- // Form frame
- #define kFormView 1024
-
- #define kHorzScrollBarID 3
- #define kVertScrollBarID 4
- #define kGrowBoxID 5
-
- #define kFormViewID 100
-
- #define kFirstNameEdViewID 101
- #define kEditHScrollBarID 108
- #define kEditVScrollBarID 109
- #define kSubscribeCheckID 110
- #define k14400RadioID 111
- #define k28800RadioID 112
- #define kFasterRadioID 113
- #define kBrowseTimePopupID 114
- #define kOnlineTimePopupID 115
- #define kWorldMouthRadioID 116
- #define kHyperLinkRadioID 117
- #define kMacTechRadioID 118
- #define kMagazineRadioID 119
- #define kOtherRadioID 120
- #define kYesRadioID 121
- #define kNoRadioID 122
- #define kSubscribeButtonID 123
- #define kAddButtonID 124
- #define kRemoveButtonID 125
- #define kPlatformListBoxID 130
-
- // Password Dialog frame
- #define kPasswordDialog 1025
-
- #define kOKButtonID 1
- #define kCancelButtonID 2
- #define kPasswordEditID 3
- #define kConfirmEditID 4
-
- // Radio-clusters constants
- #define kNumRadioClusters 3
-
- #define kModemSpeedCluster 0
- #define kDiscoverODFCluster 1
- #define kUsingOpenDocCluster 2
-
- //-------------------------------------------------------------------------------------
- // Mac-specific Resources
-
- #ifdef FW_BUILD_MAC
-
- // ODF Popups use Mac MENU resources for now
- #define kBrowseTimeMenuResID 1000
- #define kOnlineTimeMenuResID 1001
-
- // Background pictures used in the form
- #define kFormPict1 130
- #define kFormPict2 131
-
- #endif // FW_BUILD_MAC
-
- #endif
-